package com.yuma.strategy;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 *  自定义注解 用户标注在算法类上
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface MyAlgorithm {
    AlgorithmType value() default AlgorithmType.MD5;
}
